@echo off
pushd %XDK_TARGETS%
bincut.exe  eldr_nl.bin boota0.bin 0 131072 -p0xff
TBB.exe -r  ntim_nand_obm_eldr_x16.txt
bincut.exe  OBM_NTIM.bin OBM_NTIM_pad.bin 0 131072 -p0xff
copy /b OBM_NTIM_pad.bin + boota0.bin  boot.bin
del -f eldr_nl_h.bin
del -f OBM_NTIM.bin
del -f OBM_NTIM_pad.bin
cp boot.bin boot.img
echo the final file boot.bin to burn to flash by jtag has done
echo the final file boot.img to burn to flash by armsys has done
popd
